package com.example.test1.serviceimpl;
import com.example.test1.bean.UserBean;
import com.example.test1.mapper.UserMapper;
import com.example.test1.service.UserService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;
@Service
public class UserServiceImpl implements UserService{
    @Resource
    private UserMapper userMapper;


    @Override
    public UserBean loginIn(String name,String password) {
        return userMapper.getInfo(name,password);
    }
}